package org.keshe.data;

public class StuData {
    private String s_id;
    private String sname;
    private String sex;

    private String major;

    private String bedName = "";

    public StuData(String s_id, String sname, String sex, String major, String bedName) {
        this.s_id = s_id;
        this.sname = sname;
        this.sex = sex;
        this.major = major;
        this.bedName = bedName;
    }

    public StuData(String s_id, String sname, String sex, String major) {
        this.s_id = s_id;
        this.sname = sname;
        this.sex = sex;
        this.major = major;
    }
     public StuData(StuData stuData){
        this.s_id = stuData.s_id;
        this.sname = stuData.sname;
        this.sex = stuData.sex;
        this.major = stuData.major;
        this.bedName = stuData.bedName;
     }



    public void setS_id(String s_id) {
        this.s_id = s_id;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getS_id() {
        return s_id;
    }

    public String getSname() {
        return sname;
    }

    public String getSex() {
        return sex;
    }

    public String getBedName() {
        return bedName;
    }

    public void setBedName(String bedName) {
        this.bedName = bedName;
    }

    public String getMajor() {
        return major;
    }

    public void setMajor(String major) {
        this.major = major;
    }

    @Override
    public String toString() {
        return "StuData{" +
                "s_id='" + s_id + '\'' +
                ", sname='" + sname + '\'' +
                ", sex='" + sex + '\'' +
                ", major='" + major + '\'' +
                ", bedName='" + bedName + '\'' +
                '}';
    }
}
